import java.util.ArrayList;
import java.util.List;
import java.util.regex.Pattern;

public class Cook extends Person{
    private List<Dish> finishedDishList=new ArrayList<Dish>();

    @Override
    public String toString() {
        return String.format("PID:%s,Name:%s,Sex:%c,Phone:%s,PWD:%s", PID, name, sex, phoneNum, PWD);
    }
}
